package com.md.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 刘骄阳
 * 2024-12-15 1:44
 */
@Data
@ApiModel("角色请求实体")
public class RoleRequest {
  @ApiModelProperty(value = "角色id")
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long id;
  @ApiModelProperty(value = "用户名")
  private String name;
  @ApiModelProperty(value = "父级角色id")
  private Long parentId;
}
